package com.sptpc.learnspring.repository;

import com.sptpc.learnspring.model.Drink;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DrinkRepository extends JpaRepository<Drink, Long> {
    List<Drink> findDrinksByNameLike(String key);
}
